home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / D-G / Disasm Hack / ReadMe-Disasm < prev   
Encoding:
Text File  |  1992-12-23  |  1.1 KB  |  25 lines  |  [TEXT/EDIT]

  1. This is a skanky hack to extract the disassembly from ResEdit's code editor to a text file for further study/annotation.  It uses James Walker's TextCapture FKEY, available on AOL, and QuickKeys (for ResEdit->HC AppleEvents).
  2.  
  3. Installation:
  4. -----------
  5. Copy the "Log->HC" macro into your ResEdit macro set.  Edit the Fkey in the sequence to make sure it'll run.
  6.  
  7. The Fkey should be set to:
  8. - capture everywhere
  9. - separate lines w/carriage return
  10. - “copy to private clipboard” should be unchecked.
  11.  
  12. Operation:
  13. ---------
  14. 1. Open the "Disasm Stack".  Click the "log to file" button and specify a destination.
  15.  
  16. 2. In ResEdit, go to the top of the CODE resource to be logged.  Kick off the macro.  If all goes well, it will begin paging through the code and sending it to Hypercard.  The macro doesn't know when it's at the bottom of the window, so you'll have to click one or more times to cancel it.  Otherwise, it'll loop forever.
  17.  
  18. 3. Go to Hypercard and use the "Close file" button.
  19.  
  20.  
  21. Improvements
  22. -------------
  23. I don't plan to make any... feel free to improve and repost!
  24. - Jeff Winkler, Dec. 23, 1992
  25. - Winkler1@aol.com